package com.buaa.aiguangxi.dao;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public class VideoDao {
    @Autowired
    private JdbcTemplate jdbcTemplate;
    public Map<String,Object> getVideoExecInfo(){
        return jdbcTemplate.queryForMap("select info from video_exec_info order by last_edit_time desc limit 1");
    }
}
